Search results

Listed under:  Health  >  Psychology  >  Cognition  >  Thinking  >  Decision making  >  Branching
Online

Visual to text coding: Lesson 10

This is the tenth in a series of lessons to transition from visual coding to text-based coding with a General Purpose Programming language. This lesson may take two to three 45-minute periods. It introduces the coding concept of functions. Functions can help organise code, reduce repetition and more to be explored later.

Online

Heads or tails

In this lesson we show how to transition from a visual based programming language to using a text-based programming language using the example of a heads or tails coin toss application.

Online

Rock, Paper, Scissors AI!

In this lesson we use the game rock, paper scissors to investigate how an AI can recognise your hand gestures. Firstly students create, train and test their own AI model. They import their AI model into a pre-made JavaScript program to modify the computer program to incorporate game play. The level of game play will depend ...

Online

Sphero Invent a Game

This lesson will explore how to program the Sphero using functions and show the benefits of decomposing the behaviour of the Sphero into functions, instead of writing line by line repeated behaviours. This lesson idea was created by Celia Coffa.

Online

Visual to text coding: Lesson 5

This is the fifth in a series of lessons to transition from visual coding to text-based coding with a general purpose programming language. This lesson may take two to three 45-minute periods. It introduces how to create and use arrays (also called lists).

Online

Visual to text coding: Lesson 9

This is the ninth in a series of lessons to transition from visual coding to text-based coding with a General Purpose Programming language. This lesson may take two to three 45-minute periods. It explores creating powerful programs for managing and analysing data, by combining the previous skills of using loops and working ...

Downloadable

DT Challenge - 7/8 Python - Networking with Micro:Bit

Learn how to code the micro:bit to use the radio! In this DT Mini Challenge, you can create wireless networks to send pictures and messages around the room! You'll start by sending simple messages, but work up to making your own interactive games with your friends! Dive on in and you'll be sending secret messages in no time!

Downloadable

DT Challenge - 7-8 Python - Turtle

Control a turtle and draw amazing pictures with code. In this challenge you'll learn the fundamentals of programming by using instructions to position a turtle on the screen, drawing lines, patterns and shapes in the same way computers draw images. Computers use the input from users and the environment to give us feedback ...

Online

Visual to text coding: Lesson 12

This is the final in a series of lessons to transition from visual coding to text-based coding with a General Purpose Programming language. See next steps for suggested courses and learning sequences after this lesson. It builds on the coding concept of functions (by introducing the concept of return values. Functions are ...

Online

Visual to text coding: Lesson 3

This is the third in a series of lessons to transition from visual coding to text-based coding with a general-purpose programming language. This lesson may take two to three 45-minute periods. It introduces how to generate and use random numbers.

Online

Visual to text coding: The Basics

This series of lessons is to help students to transition from visual coding to text-based coding with a general-purpose programming language. This section provides the basics in order to use the programming environments: Scratch, Python and JavaScript.

Online

Visual to text coding: Index page

This lesson sequence provides a bridge between visual coding (eg. Scratch) and General Purpose Programming languages (eg. Python or JavaScript). This resource is most suitable if you have never done General Purpose Programming and/or you benefit from slow-paced, step-by-step video tutorials.

Online

Scratch Creative Computing Guide

There is also a series of units comprising learning activities, paired with assessment activities and templates that can be used to support use of the Scratch (MIT) platform. The Scratch Creative Computing Guide supports assessment activities with visual programming environments.

Online

Programming LED circuit with Arduino IDE

In this lesson students will be using components of the LilyPad development kit to create a circuit of LED’s that are controlled using a basic Arduino program, written in the Arduino IDE. Starting with a simple sequence of turning a LED on and off, the students can be challenged to choose a piece of music with a steady ...

Downloadable

DT Challenge - 7/8 Javascript - Space Invaders

In this coding challenge, students learn about programming in JavaScript, including data representation, decomposition, design, branching, iteration, functions, variables, animations, tracing and evaluation.

Downloadable

DT Challenge - 7/8 Python - Introduction to Microbit

In this challenge students use the BBC micro:bit as an embedded system to create different pieces of a virtual pet game. Students in the process learn about the micro:bit’s features and can think about how to make their own version of a virtual pet game, or even an entirely new project. Discover how embedded hardware (micro:bit) ...

Downloadable

DT Challenge - 7/8 Python - Smart garden

Learn how to program a BBC micro:bit using Python — no experience required. Learn the basics of programming in Python with our full BBC micro:bit simulator. Create a Smart Garden device to monitor the health of your plants, measuring temperature and wiring up a simple soil moisture sensor.

Online

Visual to text coding: Lesson 6

This is the sixth in a series of lessons to transition from visual coding to text-based coding with a General Purpose Programming language. This lesson may take two to three 45-minute periods. It builds on the previous introduction to arrays (also called lists) and brings in the length property.

Online

Visual to text coding: Lesson 1

This is the first in a series of lessons to transition from visual coding to text-based coding with a general-purpose programming language. This lesson may take two to three 45-minute periods. It introduces how to create variables, get user input and perform maths operations.

Online

Visual to text coding: Lesson 4

This is the fourth in a series of lessons to transition from visual coding to text-based coding with a General Purpose Programming language. This lesson may take two to three 45-minute periods. It introduces the combining of logical operators and and or for more complex decisions.